#!/usr/bin/env bash

sum=3400

for i in `seq 3307 $sum`
do
    echo "insert into db_instance (instance_name, instance_describe, address, port, username, password, cnf_file, data_dir) VALUES ('mysql$i', 'mysql$i describe', '192.168.150.164', $i, 'root', 'qwe123321','/etc/mysql/mysql$i.cnf', '/data/mysql/mysql$i');" >> /tmp/db_instance.sql
done